package com.jiedeng.dao;

import com.jiedeng.model.SysAdministrator;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 覃远龙
 * @ClassName: ISysAdministratorRepository
 * @Description:
 * @date 2017/5/24 14:02
 */
public interface ISysAdministratorRepository extends JpaRepository<SysAdministrator, Integer> {

    List<SysAdministrator> findByLoginIdAndLoginPwdAndCorpId(String loginId, String loginPwd, long corpId);

}
